GdkWindowWayland: draw, then damage, then commit
authorOwen W. Taylor <otaylor@fishsoup.net>
Tue, 23 Apr 2013 18:39:48 +0000 (14:39 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 25 Apr 2013 17:45:06 +0000 (13:45 -0400)
commitd5310f936727077839cbe7771d37769b42f41b44
tree0316f6e24897f63d6ecb5eab7911a37d887dafdd
parenta082f4d804355f801f5145d208a695055fca7125
GdkWindowWayland: draw, then damage, then commit

When exposing an area, we were individually damaging and committing
each rectangle, *before* drawing. Surprisingly, this almost worked.
Order things right and only commit once.

https://bugzilla.gnome.org/show_bug.cgi?id=698864
gdk/wayland/gdkwindow-wayland.c